/*
 * Copyright 2007 Xplayat, S.L. All rights reserved.
 * Propiedad de Xplayat. 
 */
package es.xpt.ysf.utils;

import es.xpt.ysf.YSFException;

/**
 * This class implements an exception which can wrapped a lower-level exception.
 *
 */
@SuppressWarnings("serial")
public class ServiceLocatorException extends YSFException {

  /**
   * Creates a ServiceLocatorException with the specified detail message.
   * @param message the detail message.
   */
  public ServiceLocatorException(String message) {
    super(message);
  }

  /**
   * Creates a new ServiceLocatorException wrapping another exception, and with no detail message.
   * @param exception the wrapped exception.
   */
  public ServiceLocatorException(Throwable exception) {
    super(exception);
  }


}